package operation;

import book.Book;
import book.BookLIst;

public class ShowBook implements Ioperation{
    public void work(BookLIst books){
        System.out.println("展示图书");
        int currentSize = books.getUsedSize();
        for(int i = 0; i < currentSize; i++){
            Book book = books.getBook(i);
            System.out.println(book);
        }

    }
}
